package com.bianmaba.ehcache.repository;

import com.bianmaba.ehcache.model.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @program: samples
 * @description:
 * @author: Chenjiabin
 * @create: 2018-04-22 20:29
 **/
@Repository
public interface RoleRepository extends JpaRepository<Role, String> {
    Role findByName(String name);
}
